#!/usr/bin/python
# -*-coding: UTF-8 -*-
"""
# Time: 2021/11/14 21:13
# @Author: 修养
# @Project_name: PROJECT_NAME
"""


class login:
    def __init__(self, user_name, password):

        self.user_name = user_name
        self.password = password

    def login_ifo(self):
        if self.user_name == 'luck':
            if self.password == 'luck@123':
                return '登录成功'
            else:
                '密码错误'
        else:
            '用户名不存在'
